package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 单数
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-01
 */
@TableName("singular")
public class Singular extends Model<Singular> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 姓名
     */
	private String sname;
    /**
     * 日期
     */
	@TableField("date_time")
	private Long dateTime;
    /**
     * 职位
     */
	private String post;
    /**
     * 部门
     */
	private String department;
    /**
     * 完成单数
     */
	private Long singular;
    /**
     * 拜访客户次数
     */
	private Long refer;
    /**
     * 跟进客户次数
     */
	@TableField("follow_up")
	private Long followUp;
    /**
     * 成交客户后续消费
     */
	@TableField("make_bargain")
	private Long makeBargain;
    /**
     * 月销售金额
     */
	@TableField("monthly_sales")
	private Long monthlySales;
    /**
     * 是否转介绍
     */
	private String whether;
    /**
     * 搜索
     */
	@TableField(exist =  false)
	private String search;

	/**
	 * 录入人
	 * @return
	 */
	private String persion;

	/**
	 * 套餐
	 * @return
	 */
	private String meal;

	/**
	 * 创建时间
	 * @return
	 */
	@TableField("createTime")
	private Long createTime;


	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getMeal() {
		return meal;
	}

	public void setMeal(String meal) {
		this.meal = meal;
	}

	public String getPersion() {
		return persion;
	}

	public void setPersion(String persion) {
		this.persion = persion;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Long getDateTime() {
		return dateTime;
	}

	public void setDateTime(Long dateTime) {
		this.dateTime = dateTime;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public Long getSingular() {
		return singular;
	}

	public void setSingular(Long singular) {
		this.singular = singular;
	}

	public Long getRefer() {
		return refer;
	}

	public void setRefer(Long refer) {
		this.refer = refer;
	}

	public Long getFollowUp() {
		return followUp;
	}

	public void setFollowUp(Long followUp) {
		this.followUp = followUp;
	}

	public Long getMakeBargain() {
		return makeBargain;
	}

	public void setMakeBargain(Long makeBargain) {
		this.makeBargain = makeBargain;
	}

	public Long getMonthlySales() {
		return monthlySales;
	}

	public void setMonthlySales(Long monthlySales) {
		this.monthlySales = monthlySales;
	}

	public String getWhether() {
		return whether;
	}

	public void setWhether(String whether) {
		this.whether = whether;
	}

	public String getSearch() {
		return search;
	}

	public void setSearch(String search) {
		this.search = search;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Singular{" +
				"id=" + id +
				", sname='" + sname + '\'' +
				", dateTime=" + dateTime +
				", post='" + post + '\'' +
				", department='" + department + '\'' +
				", singular=" + singular +
				", refer=" + refer +
				", followUp=" + followUp +
				", makeBargain=" + makeBargain +
				", monthlySales=" + monthlySales +
				", whether='" + whether + '\'' +
				", search='" + search + '\'' +
				", persion='" + persion + '\'' +
				", meal='" + meal + '\'' +
				", createTime=" + createTime +
				'}';
	}
}
